Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve compile options #14

Merged
merged 2 commits into from
Oct 31, 2024
Merged

Improve compile options #14

merged 2 commits into from
Oct 31, 2024

Conversation

Deniskore
Copy link
Collaborator

@Deniskore Deniskore commented Oct 31, 2024

This pull request enhances compilation settings via CMake by:

  1. Introducing an option, USE_MARCH_NATIVE, for compiling specifically for the native PC architecture.
  2. Setting Skylake (2015) as the default march for x86_64.
  3. Activating Link Time Optimization (LTO) if it is supported.
  4. The minimum supported CMake version for CXX 23 is 3.20.

@Deniskore Deniskore requested a review from bakwc October 31, 2024 08:52
@Deniskore
Copy link
Collaborator Author

Merge only if the JSON tests pass 🙏🏼

@bakwc bakwc merged commit c7f92d9 into master Oct 31, 2024
1 check passed
@Deniskore Deniskore deleted the improve_compile_options branch October 31, 2024 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants